<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SampleParcels.aspx.cs" Inherits="DrawMap.SampleParcels" %>

<%@ Register TagPrefix="mv" Src="~/MapViewer_Control.ascx" TagName="MapViewer" %>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>


    <!--<script src="jquery-1.2.6-vsdoc.js" type="text/javascript"></script>-->
    <script type="text/javascript">
    // <!CDATA[

    // ]]>
    </script>
    <style type="text/css">
        img 
        {
            border:0;
        }
        div.ToolTip
        {
            font-family:Tahoma, Sans-Serif;
            font-size:x-small;
            border:solid, 1, black;
        }
        .scaletext
        {
            font-family:Tahoma, Sans-Serif;
            font-size:x-small;
        }
        .diagnostics
        {
            font-family:Tahoma, Sans-Serif;
            font-size:x-small;
        }
        
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <label>APN:</label>&nbsp;
        <asp:TextBox runat="server" ID="apn" Width="11" style="width:8em;" />&nbsp;&nbsp;
        <asp:Button runat="server" ID="doit" Text="Get" onclick="doit_Click" />
        <hr />
    </div>
    <div>
        <label>No.:</label>
        <asp:TextBox runat="server" ID="Situs" Width="5" style="width:5em;"  ></asp:TextBox>
        &nbsp;
        <label>Street:</label>
        <asp:TextBox runat="server" ID="Street" Width="35" style="width:10em;"  ></asp:TextBox>
        &nbsp;
        <label>Type:</label>
        <asp:TextBox runat="server" ID="Type" Width="2" style="width:4em;"  ></asp:TextBox>
        &nbsp;
        <label>Community:</label>
        <asp:TextBox runat="server" ID="Community" Width="4" style="width:5em;"  ></asp:TextBox>
        &nbsp;
        <asp:Button runat="server" ID="doit_Address" Text="Get" 
            onclick="doit_Address_Click" />
        <hr />
    </div>
    <div>
        <script type="text/javascript">
        // <!CDATA[

        // ]]>
        </script>    

<mv:MapViewer ID="ViewMapControl" runat="server" 
            GenerateClickMap="True" />
        
        
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:GISConnectionString %>" 
            SelectCommand="SELECT [APN], [v_geom] FROM [slo_parcel]">
        </asp:SqlDataSource>
        <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
            ConnectionString="<%$ ConnectionStrings:GISConnectionString %>" 
            SelectCommand="SELECT [FENAME], [geom] FROM [CensusRoads2007]">
        </asp:SqlDataSource>
    </div>
    </form>
    </body>
</html>
